package com.ruoyi.system.service.fx;

import com.ruoyi.system.domain.fx.FxWithdrawalRecord;

import java.util.List;

/**
 * 提现记录Service接口
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
public interface IFxWithdrawalRecordService
{
    /**
     * 查询提现记录
     * 
     * @param id 提现记录主键
     * @return 提现记录
     */
    public FxWithdrawalRecord selectFxWithdrawalRecordById(Integer id);

    /**
     * 查询提现记录列表
     * 
     * @param fxWithdrawalRecord 提现记录
     * @return 提现记录集合
     */
    public List<FxWithdrawalRecord> selectFxWithdrawalRecordList(FxWithdrawalRecord fxWithdrawalRecord);

    /**
     * 新增提现记录
     * 
     * @param fxWithdrawalRecord 提现记录
     * @return 结果
     */
    public int insertFxWithdrawalRecord(FxWithdrawalRecord fxWithdrawalRecord);

    /**
     * 修改提现记录
     * 
     * @param fxWithdrawalRecord 提现记录
     * @return 结果
     */
    public int updateFxWithdrawalRecord(FxWithdrawalRecord fxWithdrawalRecord);

    int audit(Integer[] ids, Long status);

    /**
     * 修改状态
     * @param ids
     * @return
     */
    int updateDelFlag(Integer[] ids);

    /**
     * 批量删除提现记录
     * 
     * @param ids 需要删除的提现记录主键集合
     * @return 结果
     */
    public int deleteFxWithdrawalRecordByIds(Integer[] ids);

    /**
     * 删除提现记录信息
     * 
     * @param id 提现记录主键
     * @return 结果
     */
    public int deleteFxWithdrawalRecordById(Integer id);
}
